<?php $this->start('admin_menu')?>
	<?php echo $this->element('admin_menu', array('str_item' => 'users')) ?>
<?php $this->end(); ?>

<div class="users form">
	<h1><?php echo __('Edit User'); ?></h1>
	<?php echo $this->Form->create('User'); ?>
	<?php
		echo $this->Form->input('id');
	?>
	<table class='form-table'>
		<tr>
			<td class='left-cl-style'>Email<span class='star-rq'> * </span></td>
			<td class='right-cl-style'><?php echo $this->Form->input('email', array('label' => false)); ?></td>
		</tr>
		<tr>
			<td class='left-cl-style'>First name<span class='star-rq'> * </span></td>
			<td class='right-cl-style'><?php echo $this->Form->input('first_name', array('label' => false));?></td>
		</tr>
		<tr>
			<td class='left-cl-style'>Last name<span class='star-rq'> * </span></td>
			<td class='right-cl-style'><?php echo $this->Form->input('last_name', array('label' => false));?></td>
		</tr>
		<tr>
			<td class='left-cl-style'>Phone</td>
			<td class='right-cl-style'><?php echo $this->Form->input('phone', array('label' => false));?></td>
		</tr>
		<tr>
			<td class='left-cl-style'>Status</td>
			<td class='right-cl-style'><?php echo $this->Form->input('status', array('label' => false));?></td>
		</tr>
		<tr>
			<td class='left-cl-style'>Role</td>
			<td class='right-cl-style'><?php echo $this->Form->input('role_id', array('label' => false)); ?></td>
		</tr>
		<tr>
			<td class='left-cl-style no-border no-background'>
				(<span class='red-star'>*</span>) Required
			</td>
			<td class='right-cl-style actions no-border no-background'><?php echo $this->Form->end(__('Submit')); ?></td>
		</tr>
	</table>
</div>
<div class='actionct'>
	<span class='btn-act'><span><?php echo $this->Html->link(__('List Users'), array('action' => 'index'), array('class' => 'back-act')); ?></span></span>
	<span class='btn-act'><span><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('User.id')), array('class' => 'del-link'), __('Are you sure you want to delete # %s?', $this->Form->value('User.id'))); ?></span></span>
</div>


